package com.tkjt.pms.persist.dao;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.tkjt.pms.calc.common.IndexCalcParallel;
import com.tkjt.pms.common.entity.TkIndexValue;
import com.tkjt.pms.common.entity.TkIndexWeight;

public interface KpiIndexDao {

	public TkIndexValue getIndexValue(IndexCalcParallel indexCalcParallel);
	
	public void updateIndexValues(IndexCalcParallel indexCalcParallel, final Map<String, Double> values);
	
	public void updateIndexEntity(TkIndexValue entity);
	
	public List<TkIndexValue> loadIndexValueList(String indexValueCode, Set<String> orgCodes, Set<String> valueCodes);
	
	public TkIndexWeight getWeight(String indexCode, String indexOrgCode);
	
	public void updateWeightEntity(TkIndexWeight entity);
	
}
